//
//  PhotoCollectionViewCell.m
//  Brand
//
//  Created by Woody Yan on 4/30/14.
//  Copyright (c) 2014 Faker. All rights reserved.
//

#import "PhotoCollectionViewCell.h"

@interface PhotoCollectionViewCell ()

@end

@implementation PhotoCollectionViewCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.imageView = [[UIImageView alloc] initWithFrame:CGRectInset(self.contentView.frame, 1, 1)];
        self.choosedIndicator = [[UIImageView alloc] initWithFrame:CGRectMake(self.contentView.frame.size.width - 16, 0, 16, 16)];
        self.choosedIndicator.image= [UIImage imageNamed:@"personInfo_choosed.png"];
        self.choosedIndicator.hidden = YES;
        self.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:_imageView];
        [self.contentView insertSubview:_choosedIndicator aboveSubview:_imageView];
    }
    return self;

}

@end
